﻿
using WorkV5APIS.Common;

namespace WorkV5APIS.Models
{
    public class S_Base
    {
        public S_Base()
        {
            ID = new SnowflakeHelper(1).nextId();
            isDeleted = 0;
            CreateDate = DateTime.Now;
        }


        [SqlSugar.SugarColumn(IsPrimaryKey = true)]
        public long ID { get; set; }

        [SqlSugar.SugarColumn(IsNullable = true)]
        public string CreateUser { get; set; }

        [SqlSugar.SugarColumn(IsNullable = true)]
        public DateTime? CreateDate { get; set; }

        public int? isDeleted { get; set; }
        [SqlSugar.SugarColumn(IsNullable = true)]
        public long TenantID { get; set; }



    }
}
